Memsource\Service\BlockService S

Total Complexity 45
Dependencies 4
Dependents 3
Total lines 255
Lines of code 172
Logical lines of code 101
Comment lines 6
Methods 17
Properties 5

Methods 17

Method Rating Maintainability Complexity Lines of code
editBlocksFormSubmit()
S
54 6 21
loadInstalledBlocks()
S
55 6 19
expandWildcardAttributes()
S
60 5 12
storeBlockFormSubmit()
S
54 4 20
listUserDefinedBlocks()
S
61 4 12
unifyBlockName()
S
62 3 11
getCustomBlocksDump()
S
65 3 8
init()
S
61 2 13
loadBlocksFromDb()
S
62 2 11
loadBlocksFromFile()
S
67 2 8
deleteBlockFormSubmit()
S
67 2 8
isAttributePredefined()
S
74 1 4
listInstalledBlocks()
S
77 1 4
listCustomBlocks()
S
77 1 4
isAttributeTranslatable()
S
74 1 4
deleteBlocks()
S
72 1 5
insertBlock()
S
67 1 8